package com.liuceng.zen.pojo.form;

import com.liuceng.zen.pojo.domain.CustomerInfoMailNotification;
import lombok.Data;
import org.hibernate.validator.constraints.Email;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

import java.util.List;

/**
 * Created by liyuhang on 2016-1-9.
 */
@Data
public class CustomerInfoNotificationForm extends BaseForm {
  @NotBlank(message = "请输入email")
  @Length(min = 5, max = 100)
  @Email
  private String email;

  private String weixinqr;

  private List<CustomerInfoMailNotification> emails;
}
